// Skynet.WinApi.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
typedef void (__stdcall *DoOperationCallBack)(double result);

extern "C" __declspec( dllexport ) void WINAPI DoOperation(double input, char* operation, DoOperationCallBack func)
{	
	double result = input * input;
	Sleep(2000);
	func(result);
}
